<?php
/**
 * 这是 Typecho Material 风格皮肤, 仿照kk的博客制作而成.
 * 
 * @package Material Theme 
 * @author Flydo
 * @version 1.0
 * @link http://toyang.sinaapp.com/
 */

if (!defined('__TYPECHO_ROOT_DIR__')) exit;
 $this->need('header.php');
?>

<section class="billboard">
  <div class="container">
    <div class="row">
      <div class="col-md-7">
        <div class="intro animate fadeIn">
          <h1><?php $this->options->description(); ?></h1>
          <p class="lead"></P>
        </div>
      </div>
      <div class="col-lg-6">
      </div>
      <!-- /.col-md-6 -->
    </div>
  </div>
</section>

<div class="container">
  <div class="row">
    <div class="col-md-9" role="main">
    <?php while($this->next()): ?>
      <div class="panel">
        <div class="panel-body">
          <h3 class="post-title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h3>
          <div class="post-meta">
            <span><?php _e('作者: '); ?><a href="<?php $this->author->permalink(); ?>"><?php $this->author(); ?></a> | </span>
            <span><?php _e('时间: '); ?><?php $this->date('F j, Y'); ?> | </span>
            <span><?php _e('分类: '); ?><?php $this->category(','); ?> | </span>
            <span><a href="<?php $this->permalink() ?>#comments"><?php $this->commentsNum('评论', '1 条评论', '%d 条评论'); ?></a></span>
          </div>
          <div class="post-content"><?php $this->content('- 阅读剩余部分 -'); ?></div>
        </div>
      </div>
    <?php endwhile; ?>
    <?php $this->pageNav('&laquo; ', ' &raquo;',3,'...',
      array(
        'wrapClass'     =>  'pagination',
        'itemTag'       =>  'li',
        'textTag'       =>  'span',
        'currentClass'  =>  'active',
        'prevClass'     =>  'prev',
        'nextClass'     =>  'next')); ?>
    </div>
    <!-- end #col-md-8 -->
    <div class="col-md-3">
      <?php $this->need('sidebar.php'); ?>
    </div>
  </div>
</div>
<?php $this->need('footer.php'); ?>
